package com.yanqu.road.entity.log.turtle;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

import java.util.Date;

/**
 * @Author : Cxp
 * @Time : 2024-09-18
 * @Description :乌龟对对碰-开局 埋点
 */

@FieldTypeAnnotation(tableName = "t_l_ck_activity_turtle_start", desc = "乌龟对对碰-开局", autoSave = true, dataUpload = true, eventName = "turtle_begin", uploadCk = true)
public class LogTurtleStart extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "渠道ID", dataAttribute = "channel_id")
    private int channelId;
    @FieldTypeAnnotation(desc = "区服ID", dataAttribute = "server_id")
    private long serverId;
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "轮次ID", dataAttribute = "round_id")
    private int roundId;
    @FieldTypeAnnotation(desc = "消耗道具", dataAttribute = "turtle_use")
    private String cost;
    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    @Override
    public long getUserId() {
        return userId;
    }

    public int getChannelId() {
        return channelId;
    }

    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getRoundId() {
        return roundId;
    }

    public void setRoundId(int roundId) {
        this.roundId = roundId;
    }

    public String getCost() {
        return cost;
    }

    public void setCost(String cost) {
        this.cost = cost;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
}
